package com.yilin.platform.entity.user;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.platform.base_core.commons.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "user_cooperate")
@TableName(value = "user_cooperate")
public class Cooperate extends BaseEntity {
    //合作状态
    public enum CooperateState {
        wait(0, "等待同意"),
        success(1, "已合作"),
        cancellation(2, "取消");
        @EnumValue
        public Integer index;
        public String name;

        CooperateState(Integer index, String name) {
            this.index = index;
            this.name = name;
        }
    }
    @Column(name = "cooperate_state")
    private CooperateState cooperateState;//合作状态
    @Column(name = "account_organize_id")
    private String accountOrganizeId;//用户组织ID
    @Column(name = "account_organize_name")
    private String accountOrganizeName;//用户组织名称
    @Column(name = "account_manager_user_phone")
    private String accountManagerUserPhone;//用户管理员电话
    @Column(name = "account_manager_user_id")
    private String accountManagerUserId;//用户管理员电话
    @Column(name = "account_manager_user_name")
    private String accountManagerUserName;//用户管理员电话
    @Column(name = "account_id")
    private String accountId;//申请人 管理员
    @Column(name = "account_name")
    private String accountName;//申请人
    @Column(name = "company_organize_id")
    private String companyOrganizeId;//合作组织ID
    @Column(name = "company_organize_name")
    private String companyOrganizeName;//合作组织名称
    @Column(name = "company_manager_user_phone")
    private String companyManagerUserPhone;//合作管理员电话
    @Column(name = "company_manager_user_id")
    private String companyManagerUserId;//用户管理员电话
    @Column(name = "company_manager_user_name")
    private String companyManagerUserName;//用户管理员电话
    @Column(name = "company_id")
    private String companyId;//同意人
    @Column(name = "company_name")
    private String companyName;//同意人


    public String getAccountManagerUserId() {
        return accountManagerUserId;
    }

    public void setAccountManagerUserId(String accountManagerUserId) {
        this.accountManagerUserId = accountManagerUserId;
    }

    public String getAccountManagerUserName() {
        return accountManagerUserName;
    }

    public void setAccountManagerUserName(String accountManagerUserName) {
        this.accountManagerUserName = accountManagerUserName;
    }

    public String getCompanyManagerUserId() {
        return companyManagerUserId;
    }

    public void setCompanyManagerUserId(String companyManagerUserId) {
        this.companyManagerUserId = companyManagerUserId;
    }

    public String getCompanyManagerUserName() {
        return companyManagerUserName;
    }

    public void setCompanyManagerUserName(String companyManagerUserName) {
        this.companyManagerUserName = companyManagerUserName;
    }

    public CooperateState getCooperateState() {
        return cooperateState;
    }

    public void setCooperateState(CooperateState cooperateState) {
        this.cooperateState = cooperateState;
    }

    public String getAccountOrganizeId() {
        return accountOrganizeId;
    }

    public void setAccountOrganizeId(String accountOrganizeId) {
        this.accountOrganizeId = accountOrganizeId;
    }

    public String getAccountOrganizeName() {
        return accountOrganizeName;
    }

    public void setAccountOrganizeName(String accountOrganizeName) {
        this.accountOrganizeName = accountOrganizeName;
    }



    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getCompanyOrganizeId() {
        return companyOrganizeId;
    }

    public void setCompanyOrganizeId(String companyOrganizeId) {
        this.companyOrganizeId = companyOrganizeId;
    }

    public String getCompanyOrganizeName() {
        return companyOrganizeName;
    }

    public void setCompanyOrganizeName(String companyOrganizeName) {
        this.companyOrganizeName = companyOrganizeName;
    }

    public String getAccountManagerUserPhone() {
        return accountManagerUserPhone;
    }

    public void setAccountManagerUserPhone(String accountManagerUserPhone) {
        this.accountManagerUserPhone = accountManagerUserPhone;
    }

    public String getCompanyManagerUserPhone() {
        return companyManagerUserPhone;
    }

    public void setCompanyManagerUserPhone(String companyManagerUserPhone) {
        this.companyManagerUserPhone = companyManagerUserPhone;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}
